package com.nidu.demo.file.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 文件预签名URL客户端对象
 *
 * @author auto
 */
@Data
@Schema(description = "文件预签名URL客户端对象")
public class FilePresignedUrlCO {

    @Schema(description = "预签名上传URL", example = "https://example.com/upload?signature=xxx")
    private String uploadUrl;

    @Schema(description = "文件访问URL", example = "https://example.com/files/avatar.jpg")
    private String url;

    @Schema(description = "字段名称", example = "file")
    private String fieldName;

    @Schema(description = "额外字段")
    private Object fields;

}
